package com.goldcn.classify.dao;

import com.goldcn.classify.dto.Dto_AttributeInfo;
import com.goldcn.classify.model.ClassifyAttrDef;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ClassifyAttrDefMapper {
    int deleteByPrimaryKey(String cfadID);

    int insert(ClassifyAttrDef record);

    int insertSelective(ClassifyAttrDef record);

    ClassifyAttrDef selectByPrimaryKey(String cfadID);

    Map<String,Object> selectByPrimaryKey_new(String cfadID);

    int updateByPrimaryKeySelective(ClassifyAttrDef record);

    int updateByPrimaryKey(ClassifyAttrDef record);

    List<ClassifyAttrDef> selectAttrDefList1(@Param("platform") Integer platform);

    List<Map<String,Object>> selectAttrList(@Param("list")List<String> clazzObjIDs,@Param("platform")Integer type);

//    List<Map<String,Object>> selectAttrList(Map<String,Object> parm);

    List<Map<String,Object>> selectAttrValList(String cfadID);

    List<Dto_AttributeInfo> selectAttributeInfoList(@Param("platform") String code);

    List<ClassifyAttrDef> selectAllAttr();

}